projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15cf3ec
)
(scroll-bar-maybe-set-window-start): Change window
author
Geoff Voelker
<voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:39:53 +0000
(19:39 +0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Tue, 2 Sep 1997 19:39:53 +0000
(19:39 +0000)
if current start is equal to start of next portion.
lisp/scroll-bar.el
patch
|
blob
|
history
diff --git
a/lisp/scroll-bar.el
b/lisp/scroll-bar.el
index ec02d8c57c9033f7b0839297e960d85c8602f334..6a2660626d1fa9a8bea192b2fecff3740a73792f 100644
(file)
--- a/
lisp/scroll-bar.el
+++ b/
lisp/scroll-bar.el
@@
-186,7
+186,7
@@
EVENT should be a scroll bar click or drag event."
(setq next-portion-start (max
(scroll-bar-drag-position next-portion-whole)
(1+ portion-start)))
- (if (or (> current-start next-portion-start)
+ (if (or (>
=
current-start next-portion-start)
(< current-start portion-start))
(set-window-start window portion-start)
;; Always set window start, to ensure scroll bar position is updated.